import React, { Component } from 'react'
import { withRouter } from 'react-router-dom'
import {LeftOutlined} from '@ant-design/icons'
import {
    RightOutlined
  } from '@ant-design/icons';
class Xtset extends Component {
    render() {
        return (
            <div className="set">
                <div className="back">
                    设置
                    <span onClick={()=>{this.props.history.push('/mine')}}><LeftOutlined  /></span>
                </div>
                <div className="list">
                    <p onClick={()=>{this.props.history.push('/personal')}}>
                        <span>个人资料</span>
                        <RightOutlined />
                    </p>
                    <p>
                        <span>账号与安全</span>
                        <RightOutlined />
                    </p>
                    <p>
                        <span>消息与提醒</span>
                        <RightOutlined />
                    </p>
                    <p>
                        <span>关于我们</span>
                        <RightOutlined />
                    </p>
                </div>
            </div>
        )
    }
}

export default withRouter(Xtset)